﻿<Activity mc:Ignorable="sap sap2010 sads" x:Class="MyNet.QueryWorkflow.QueryWorkflowExample"
 xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities"
 xmlns:local="clr-namespace:MyNet.WebServices"
 xmlns:local1="clr-namespace:MyNet.WebServices.DataModel"
 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
 xmlns:mca="clr-namespace:Microsoft.CSharp.Activities;assembly=System.Activities"
 xmlns:sads="http://schemas.microsoft.com/netfx/2010/xaml/activities/debugger"
 xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation"
 xmlns:sap2010="http://schemas.microsoft.com/netfx/2010/xaml/activities/presentation"
 xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib"
 xmlns:sco="clr-namespace:System.Collections.ObjectModel;assembly=mscorlib"
 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  <x:Members>
    <x:Property Name="myNetDbAmericanService" Type="InArgument(local:IMyNetDbService)" />
    <x:Property Name="myNetDbEuropeanService" Type="InArgument(local:IMyNetDbService)" />
    <x:Property Name="myNetDbAsianService" Type="InArgument(local:IMyNetDbService)" />
    <x:Property Name="concatService" Type="InArgument(local:IConcatService)" />
  </x:Members>
  <sap2010:ExpressionActivityEditor.ExpressionActivityEditor>C#</sap2010:ExpressionActivityEditor.ExpressionActivityEditor>
  <sap2010:WorkflowViewState.IdRef>MyNet.QueryWorkflow.Activity1_1</sap2010:WorkflowViewState.IdRef>
  <TextExpression.NamespacesForImplementation>
    <sco:Collection x:TypeArguments="x:String">
      <x:String>System</x:String>
      <x:String>System.Collections.Generic</x:String>
      <x:String>System.Data</x:String>
      <x:String>System.Linq</x:String>
      <x:String>System.Text</x:String>
      <x:String>MyNet.WebServices</x:String>
      <x:String>MyNet.WebServices.DataModel</x:String>
      <x:String>MyNet.QueryWorkflow</x:String>
    </sco:Collection>
  </TextExpression.NamespacesForImplementation>
  <TextExpression.ReferencesForImplementation>
    <sco:Collection x:TypeArguments="AssemblyReference">
      <AssemblyReference>Microsoft.CSharp</AssemblyReference>
      <AssemblyReference>System</AssemblyReference>
      <AssemblyReference>System.Activities</AssemblyReference>
      <AssemblyReference>System.Core</AssemblyReference>
      <AssemblyReference>System.Data</AssemblyReference>
      <AssemblyReference>System.Runtime.Serialization</AssemblyReference>
      <AssemblyReference>System.ServiceModel</AssemblyReference>
      <AssemblyReference>System.ServiceModel.Activities</AssemblyReference>
      <AssemblyReference>System.Xaml</AssemblyReference>
      <AssemblyReference>System.Xml</AssemblyReference>
      <AssemblyReference>System.Xml.Linq</AssemblyReference>
      <AssemblyReference>mscorlib</AssemblyReference>
      <AssemblyReference>MyNet.QueryWorkflow</AssemblyReference>
    </sco:Collection>
  </TextExpression.ReferencesForImplementation>
  <Sequence sap2010:WorkflowViewState.IdRef="Sequence_1">
    <!--
    
    <Sequence.Variables>
      <Variable x:TypeArguments="scg:List(local1:Contact)" Name="contactsInAmerica" />
      <Variable x:TypeArguments="scg:List(local1:Contact)" Name="contactsInEurope" />
      <Variable x:TypeArguments="scg:List(local1:Contact)" Name="contactsInAsia" />
      <Variable x:TypeArguments="scg:List(local1:Contact)" Name="tmp" />
    </Sequence.Variables>
    
    
    <Assign DisplayName="Contacts in America" sap2010:WorkflowViewState.IdRef="Assign_1">
      <Assign.To>
        <OutArgument x:TypeArguments="scg:List(local1:Contact)">
          <mca:CSharpReference x:TypeArguments="scg:List(local1:Contact)">contactsInAmerica</mca:CSharpReference>
        </OutArgument>
      </Assign.To>
      <Assign.Value>
        <InArgument x:TypeArguments="scg:List(local1:Contact)">
          <mca:CSharpValue x:TypeArguments="scg:List(local1:Contact)">myNetDbAmericanService.getContacts()</mca:CSharpValue>
        </InArgument>
      </Assign.Value>
    </Assign>
    <Assign DisplayName="Contacts in Asia" sap2010:WorkflowViewState.IdRef="Assign_2">
      <Assign.To>
        <OutArgument x:TypeArguments="scg:List(local1:Contact)">
          <mca:CSharpReference x:TypeArguments="scg:List(local1:Contact)">contactsInAsia</mca:CSharpReference>
        </OutArgument>
      </Assign.To>
      <Assign.Value>
        <InArgument x:TypeArguments="scg:List(local1:Contact)">
          <mca:CSharpValue x:TypeArguments="scg:List(local1:Contact)">myNetDbAsianService.getContacts()</mca:CSharpValue>
        </InArgument>
      </Assign.Value>
    </Assign>
    <Assign DisplayName="Contacts in Europe" sap2010:WorkflowViewState.IdRef="Assign_3">
      <Assign.To>
        <OutArgument x:TypeArguments="scg:List(local1:Contact)">
          <mca:CSharpReference x:TypeArguments="scg:List(local1:Contact)">contactsInEurope</mca:CSharpReference>
        </OutArgument>
      </Assign.To>
      <Assign.Value>
        <InArgument x:TypeArguments="scg:List(local1:Contact)">
          <mca:CSharpValue x:TypeArguments="scg:List(local1:Contact)">myNetDbEuropeanService.getContacts()</mca:CSharpValue>
        </InArgument>
      </Assign.Value>
    </Assign>
    <Assign sap2010:WorkflowViewState.IdRef="Assign_4">
      <Assign.To>
        <OutArgument x:TypeArguments="scg:List(local1:Contact)">
          <mca:CSharpReference x:TypeArguments="scg:List(local1:Contact)">tmp</mca:CSharpReference>
        </OutArgument>
      </Assign.To>
      <Assign.Value>
        <InArgument x:TypeArguments="scg:List(local1:Contact)">
          <mca:CSharpValue x:TypeArguments="scg:List(local1:Contact)">concatService.Concat( contactsInAmerica, contactsInEurope )</mca:CSharpValue>
        </InArgument>
      </Assign.Value>
    </Assign>
    
    -->
    <sads:DebugSymbol.Symbol>d0hDOlxVc2Vyc1xKXERlc2t0b3BcY2RtXEV4NVxNeU5ldC5RdWVyeVdvcmtmbG93XFF1ZXJ5V29ya2Zsb3dFeGFtcGxlLnhhbWwNMgNqDgIBATkFRA4CATtFBVAOAgEoUQVcDgIBFV0FaA4CAQJBC0F9AgFFPAs8cgIBPE0LTXoCATJIC0hvAgEpWQtZfQIBH1QLVHECARZlC2WUAQIBDGALYGQCAQM=</sads:DebugSymbol.Symbol>
  </Sequence>
  <sap2010:WorkflowViewState.ViewStateManager>
    <sap2010:ViewStateManager>
      <sap2010:ViewStateData Id="Assign_1" sap:VirtualizedContainerService.HintSize="242,62" />
      <sap2010:ViewStateData Id="Assign_2" sap:VirtualizedContainerService.HintSize="242,62" />
      <sap2010:ViewStateData Id="Assign_3" sap:VirtualizedContainerService.HintSize="242,62" />
      <sap2010:ViewStateData Id="Assign_4" sap:VirtualizedContainerService.HintSize="242,62" />
      <sap2010:ViewStateData Id="Sequence_1" sap:VirtualizedContainerService.HintSize="264,492">
        <sap:WorkflowViewStateService.ViewState>
          <scg:Dictionary x:TypeArguments="x:String, x:Object">
            <x:Boolean x:Key="IsExpanded">True</x:Boolean>
          </scg:Dictionary>
        </sap:WorkflowViewStateService.ViewState>
      </sap2010:ViewStateData>
      <sap2010:ViewStateData Id="MyNet.QueryWorkflow.Activity1_1" sap:VirtualizedContainerService.HintSize="304,572" />
    </sap2010:ViewStateManager>
  </sap2010:WorkflowViewState.ViewStateManager>
</Activity>